From 8bce5fa7b3614ee064467f3cccd20a5e9638eb40 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 15 May 2011 09:47:56 -0400 Subject: [PATCH] Bind = to diff command in vc-annotate mode (Bug#8671) * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Bind = to vc-annotate-show-diff-revision-at-line. --- lisp/ChangeLog | 5 +++++ lisp/vc/vc-annotate.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8f532e713d6..ecfe2fa6da7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-05-15 Chong Yidong + + * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to + vc-annotate-show-diff-revision-at-line (Bug#8671). + 2011-05-14 Glenn Morris * vc/add-log.el (add-change-log-entry): Don't start adding a new entry diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el index abd3806d02f..b6ecc4c1d75 100644 --- a/lisp/vc/vc-annotate.el +++ b/lisp/vc/vc-annotate.el @@ -120,6 +120,7 @@ List of factors, used to expand/compress the time scale. See `vc-annotate'." (let ((m (make-sparse-keymap))) (define-key m "a" 'vc-annotate-revision-previous-to-line) (define-key m "d" 'vc-annotate-show-diff-revision-at-line) + (define-key m "=" 'vc-annotate-show-diff-revision-at-line) (define-key m "D" 'vc-annotate-show-changeset-diff-revision-at-line) (define-key m "f" 'vc-annotate-find-revision-at-line) (define-key m "j" 'vc-annotate-revision-at-line) -- 2.30.2